package com.lm56.admin.mapper;

import com.lm56.admin.domain.SysList;
import com.lm56.admin.domain.SysListItem;
import com.lm56.admin.dto.SysListQueryForm;

import java.util.List;

/**
 * Created by Kelvin Yeung on 2016/11/4.
 */
public interface SysListMapper {

    public List<SysList> getSysLists(SysListQueryForm Param);

    public SysList getSysListById(long listId);
    public SysListItem getSysListItemById(long itemId);


    public void insertSysList(SysList syslist);
    public void insertSysListItems(List<SysListItem> items);
    public void insertSysListItem(SysListItem item);

    public void updateSysList(SysList syslist);
    public void updateSysListItem(SysListItem item);

    public void deleteSysListById(long listId);
    public void deleteSysListItemById(long itemId);
    public void deleteSysListItemByListId(long listId);


}
